﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XXX.Models.WDFT
{
   /// <summary>
   /// 威德封头，销售订单导入用
   /// </summary>
    public class WDFT_SaleOrder
    {
        public string cId { get; set; }
        public string cSoCode { get; set; }
        public string dDate { get; set; }
        //销售类型： 01 直销  02 代销 03 来料加工
        public string cSTCode { get; set; }
        public string cCusCode { get; set; }
        //客户名称
        public string cCusName { get; set; }
        /// <summary>
        /// 税号
        /// </summary>
        public string cCusRegCode { get; set; }
        public string cPersonCode { get; set; }
        public string cExch { get; set; }
        public string nFlat { get; set; }
        public string cMaker { get; set; }
        public string dVerifyDate { get; set; }
        public string cVerifier { get; set; }
        public string cMemo { get; set; }
        public List<Itemlist> itemList { get; set; }


        public class Itemlist
        {
            public string cInvCode { get; set; }
            public string iRowNo { get; set; }
            public decimal iQuantity { get; set; }
            public decimal? iOriSum { get; set; }
            public decimal? iSum { get; set; }
            public string cbMemo { get; set; }
            //对方传入的行id
            public string bid { get; set; }
            // 扩展自定义项

            public decimal? awpTanshangCharge { get; set; }
            public decimal? awpRechuliCharge { get; set; } 
            public decimal? awpPaoguangCharge { get; set; }
            public decimal? shiyanFeiyong { get; set; }
            public decimal? thirdPartyCharge { get; set; }
            public decimal? aoYunshuCharge { get; set; }
            public decimal? aoJijiagong { get; set; }
            public decimal? aoDifficulty { get; set; }
            public decimal? aoFinance { get; set; }
            public decimal? qtfjf { get; set; }
            public decimal? qtsyf { get; set; }
            public decimal? aoMobanshibanshiyanCharge { get; set; }
            public decimal? aoHanjieshibanshiyanCharge { get; set; }
            public decimal? swpGongzhuangCharge { get; set; }
            public decimal? swpBaozhuangCharge { get; set; }
            public decimal? swpTiemoCharge { get; set; }
            public decimal? swpQitaCharge { get; set; }
            public decimal? swpBiaomianjinghuCharge { get; set; }
            public decimal? guwenfei { get; set; }
            public decimal? aoMojuCharge { get; set; }

            public decimal? weight { get; set; }
            public decimal? cailiaochengbenPrice { get; set; }
            public decimal? productPrice { get; set; }
            //特殊材质
            public string cCaiZhi { get; set; }
            //单重  
            //材料费 cailiaochengbenPrice
            //出厂单价  productPrice
            //探伤 awpTanshangCharge
            //热处理 awpRechuliCharge
            //抛光 awpPaoguangCharge
            //试验 shiyanFeiyong
            //第三方 thirdPartyCharge
            //运输 aoYunshuCharge
            //机加工 aoJijiagong
            //高难度 aoDifficulty
            //财务 aoFinance
            //其他附加费 qtfjf
            //其他试验费 qtsyf
            //母材试验费 aoMobanshibanshiyanCharge
            //焊接试验费 aoHanjieshibanshiyanCharge
            //工装费 swpGongzhuangCharge
            //包装费 swpBaozhuangCharge
            //贴膜费 swpTiemoCharge
            //其他特别工本费  swpQitaCharge
            //表面精护成品 swpBiaomianjinghuCharge
            //顾问 guwenfei
            //模具费(总价) aoMojuCharge
        }
    }

   
}
